<div class="containerright">
    <!--left-->

    <!--/left-->
    <!--right-->
    <div class="videosct">
        <?php
        if ($datadetail == null) {
            echo "<div style='margin:80px 0px 0px 40px;color:#ff6600;'><img src='".WEB_PATH."/public/img/errorvideos.png'/>Videos này không tồn tại hoặc đang bị chặn.</div>";
        } else {
            ?>
            <?php echo $datadetail["videoContent"]; ?>
            <div class="titlevideoct">
                <h2><i class="fa fa-youtube-play"></i> <?php echo $datadetail["videoName"]; ?></h2>
            </div>
            <div class="inforvideo">
                <span class="videoicondes"><i class="fa fa-user"></i> Admin</span>
                <span class="videoicondes"><i class="fa fa-clock-o"></i> <?php echo date('d-m-Y', strtotime($datadetail["videoDatePost"])); ?></span>
                <span class="videoicondes"><i class="fa fa-eye"></i> <?php echo $datadetail["videosView"]; ?></span>
                <span class="videoscate"><i class="fa fa-bars"></i> <?php echo $namecatalog; ?></span>

            </div>
        <?php } ?>
    </div>
    <!--/right-->
    <div class="advdetailtable">
        <div class="advdetailct">
            <?php
            $filename = str_replace("\\", "/", APPLICATION_PATH) . "/public/codeadv/detailvideos/detailadv01.txt";
            $advct = file_get_contents($filename, true);
            echo $advct;
            ?>

        </div>
        <div class="advdetailct">
            <?php
            $filename = str_replace("\\", "/", APPLICATION_PATH) . "/public/codeadv/detailvideos/detailadv02.txt";
            $advct = file_get_contents($filename, true);
            echo $advct;
            ?>
        </div>
    </div>
</div>